package com.platform.entity;

import java.io.Serializable;
import java.util.List;


/**
 * 部门管理
 *
 * @author liepngjun
 * @email 939961241@qq.com
 * @date 2017-09-17 23:58:47
 */
public class SysDeptEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//部门ID
	private Long deptId;
	//上级单位或部门ID，0：商家单位，其他为部门或子部门
	private Long parentId;
	//部门名称
	private String name;
	//上级部门名称
	private String parentName;
	//排序
	private Integer orderNum;


	//中大团队扩展

	//店铺头像路径
	private String icon;
	//商家全称【is_root=1】
	private String longName;
	//商家地址【is_root=1】
	private String address;
	//商家联系手机【is_root=1】
	private String mobile;
	//商家QQ【is_root=1】
	private String qq;
	//商家微信【is_root=1】
	private String wechat;
	//商家主营【is_root=1】
	private String mainBuss;
	//商家所在地区【is_root=1】
	private String area;
	//商家电话【is_root=1】
	private String telephone;
	//商家传真【is_root=1】
	private String fax;
	//商家邮箱【is_root=1】
	private String email;
	//是否验证：０未验证，１已验证【is_root=1】
	private Integer isCerted;
	//启用状态：０禁用，１启用
	private Integer isActive;
	//商家类型：０供应商，１采购商【is_root=1】
	private Integer rootType;
	//组织序列
	private String deptSeq;
	//小程序首页背景色
	private String appBgColor;
	//小程序首页背景图片路径
	private String appBgImageUrl;
	//小程序首页标题字体颜色
	private String appFontColor;
	//预设代理协议模版
	private String proxyAgreement;

	/**
	 * ztree属性
	 */
	private Boolean open;

	private List<?> list;


	public void setDeptId(Long deptId) {
		this.deptId = deptId;
	}

	public Long getDeptId() {
		return deptId;
	}
	/**
	 * 设置：上级部门ID，一级部门为0
	 */
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}
	/**
	 * 获取：上级部门ID，一级部门为0
	 */
	public Long getParentId() {
		return parentId;
	}
	/**
	 * 设置：部门名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：部门名称
	 */
	public String getName() {
		return name;
	}


	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**
	 * 设置：排序
	 */
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	/**
	 * 获取：排序
	 */
	public Integer getOrderNum() {
		return orderNum;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public List<?> getList() {
		return list;
	}

	public void setList(List<?> list) {
		this.list = list;
	}

	public Integer getIsActive() {
		return isActive;
	}

	public void setIsActive(Integer isActive) {
		this.isActive = isActive;
	}

	public Integer getRootType() {
		return rootType;
	}

	public void setRootType(Integer rootType) {
		this.rootType = rootType;
	}

	public Integer getIsCerted() {
		return isCerted;
	}

	public void setIsCerted(Integer isCerted) {
		this.isCerted = isCerted;
	}

	public String getLongName() {
		return longName;
	}

	public void setLongName(String longName) {
		this.longName = longName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWechat() {
		return wechat;
	}

	public void setWechat(String wechat) {
		this.wechat = wechat;
	}

	public String getMainBuss() {
		return mainBuss;
	}

	public void setMainBuss(String mainBuss) {
		this.mainBuss = mainBuss;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getDeptSeq() {
		return deptSeq;
	}

	public void setDeptSeq(String deptSeq) {
		this.deptSeq = deptSeq;
	}

	public String getAppBgColor() {
		return appBgColor;
	}

	public void setAppBgColor(String appBgColor) {
		this.appBgColor = appBgColor;
	}

	public String getAppBgImageUrl() {
		return appBgImageUrl;
	}

	public void setAppBgImageUrl(String appBgImageUrl) {
		this.appBgImageUrl = appBgImageUrl;
	}

	public String getAppFontColor() {
		return appFontColor;
	}

	public void setAppFontColor(String appFontColor) {
		this.appFontColor = appFontColor;
	}

	public String getProxyAgreement() {
		return proxyAgreement;
	}

	public void setProxyAgreement(String proxyAgreement) {
		this.proxyAgreement = proxyAgreement;
	}
}
